package org.soenea.doitall.domain.model.invite;

import org.dsrg.soenea.domain.DomainObject;
import org.soenea.doitall.domain.model.group.IGroup;
import org.soenea.doitall.domain.model.user.IUser;



public class Invite extends DomainObject<Long> implements IInvite {
 
	private IUser inviter;
	private IUser invited;
	private IGroup groupID;
	private int status;
	
	public Invite(Long id, long version, IUser inviter, IUser invited, IGroup groupID, int status) {
		super(id, version);
		this.groupID = groupID;
		this.status = status;
		this.inviter = inviter;
		this.invited = invited;
	}
	@Override
	public IGroup getGroupID() {
		return groupID;
	}
	@Override	
	public void setGroupID(IGroup groupID) {
		this.groupID = groupID;
	}
	@Override	
	public int getStatus() {
		return status;
	}
	@Override
	public void setStatus(int status) {
		this.status = status;
	}
	
	@Override
	public IUser getInviter() {
		return this.inviter;
	}
	@Override
	public void setInviter(IUser inviter) {
		this.inviter = inviter;
	}
	@Override
	public IUser getInvited() {
		return this.invited;
	}
	@Override
	public void setInvited(IUser invited) {
		this.invited = invited;
	}


}
